package org.ricks.ioc.anno;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 用来标识销毁方法
 */
@Documented
@RicksMethod
@Retention(RetentionPolicy.RUNTIME)
public @interface PreDestroy {

    /**
     * 执行优先级以大到小排序
     */
    int priority() default 0;

}